package com.qth.valet.common.netty;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Message <T> {

    private Integer type;

    private T data;

    public static final int INIT = 0;
    public static final int SEND_ORDER = 1;
    public static final int DRIVING = 2;
    public static final int PLEASE_RECHARGE = 3;
}
